<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;


class Tags extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = array(
            array('name'=>'php','weight'=>'1'),
            array('name'=>'javascritp','weight'=>'1'),
            array('name'=>'ajax','weight'=>'1'),
            array('name'=>'laravel','weight'=>'1'),
            array('name'=>'ThinkPHP5.0','weight'=>'1'),
            array('name'=>'redis','weight'=>'1'),
            array('name'=>'HTML','weight'=>'1'),
            array('name'=>'FastAdmin','weight'=>'1'),
            array('name'=>'面试题','weight'=>'1'),
        );
        DB::table('Tags')->insert($data);
    }
}
